﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddApply_A.aspx.cs" Inherits="StreetCenter_AddApply_A" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>海曙区廉租住房保障----填写申请表</title>
    <link href="../Css/nmain.css" rel="stylesheet" type="text/css"/>
	<script type="text/javascript" src="../Style/jquery.js"></script>
    <script type="text/javascript" src="../Style/Calendar.js"></script>
    <script type="text/javascript" src="../Style/AddApply.js"></script>
</head>
<body>
    <form id="form1" runat="server" onsubmit="return Check()">
    <table width="1004" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="89" valign="top" background="../Images/Main_1.jpg"><table width="100%" height="31" border="0" align="right" cellpadding="0" cellspacing="0">
      <tr>
        <td width="73%">&nbsp;</td>
        <td width="27%" valign="top">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td background="../Images/Main_07.jpg" style="height: 28px">&nbsp;</td>
  </tr>
</table>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="800" valign="top" bgcolor="#98D7E8"><table width="95%" height="33" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="70" align="center" class="heise1">海曙区廉租住房保障申请审核表<br />
            <div style="float:right; padding-right:20px">NO.<asp:Label ID="lblnoid" runat="server" ForeColor="Red"></asp:Label></div>&nbsp;        </td>
      </tr>
    </table>
      <table width="99%" height="792" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
      <tr>
        <td height="40" colspan="3" align="center" bgcolor="#FFFFFF">户籍地址</td>
        <td height="40" colspan="10" align="center" bgcolor="#FFFFFF">
            <asp:TextBox ID="txbaddress" runat="server" Width="373px" CssClass="UnderlineButton1"></asp:TextBox></td>
        <td height="40" colspan="3" align="center" bgcolor="#FFFFFF">联系电话</td>
        <td height="40" colspan="4" align="center" bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="txbphone" runat="server" CssClass="UnderlineButton1" Width="128px"></asp:TextBox></td>
        </tr>
      <tr>
        <td height="30" colspan="20" align="left" bgcolor="#FFFFFF" valign="top">
       	<table width="100%" border="1" cellpadding="0" cellspacing="0" style="border-top:none; border-bottom:none; border-left:none; border-right:none">
          <tr>
            <td colspan="7" border="1" height="20" valign="top"  >
                <table width="100%" border="1" cellspacing="0" style="border-top:none;border-bottom:none;border-left:none;border-right:none;">
                    <tr>
                      <td width="7%" height="50">称谓</td>
                      <td style="width: 7%">姓名</td>
                      <td style="width: 7%">婚姻状况</td>
                      <td style="width: 24%">工作单位</td>
                      <td width="24%">身份证号码</td>
                      <td style="width: 19%">前12个月收入</td>
                      <td style="width: 9%">是否是保障人口</td>
                      <td><input type="button" value="添加" name="addFieldBT" onclick="AddRowApplication();"/></td>
                    </tr>
                </table>
                <div id="application" runat="server"></div>
              </td>
          </tr>
          <tr>
            <td width="27%" height="90" rowspan="2">家庭前12个月总收入</td>
            <td width="12%" rowspan="2">
                <input id="txbtotleincome" name="txbtotleincome" class="UnderlineButton1" style="width:80px" runat="server" type="text" readonly="readOnly" value="0" />元</td>
            <td width="11%" rowspan="2">家庭人数</td>
            <td width="12%" rowspan="2">
                <input id="txbpeoplenumIsPro" name="txbpeoplenumIsPro" type="text" class="UnderlineButton1" style="width:50px" runat="server" readonly="readOnly" value="1"/><input id="txbpeoplenum" name="txbpeoplenum" runat="server" type="hidden" class="UnderlineButton1" style="width:50px" readonly="readOnly" value="1"/>人</td>
            <td height="40" colspan="2">前12个月人均收入</td>
            <td colspan="2" style="width: 129px">
                <input id="txbavgincome" name="txbavgincome" type="text" class="UnderlineButton1" style="width:100px" runat="server" readonly="readOnly" value="0"/>元</td>
          </tr>
          <tr>
            <td height="42" colspan="2">前12个月人均月收入</td>
            <td colspan="2" style="width: 129px">
                <input id="txbavgmonthincome" name="txbavgmonthincome" type="text" class="UnderlineButton1" runat="server" style="width:100px" readonly="readOnly" value="0"/>元</td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="2" rowspan="5" align="center" bgcolor="#FFFFFF">家<br/>
          庭<br/>
          财<br/>
          产</td>
        <td height="30" colspan="11" bgcolor="#FFFFFF">存款、股票、基金本金和国库券及有价证券</td>
        <td height="30" colspan="7" align="center" bgcolor="#FFFFFF">          
            <asp:TextBox ID="txbsecuritie" runat="server" CssClass="UnderlineButton1" Width="80%" onblur="TotleMoney('txbsecuritie','money1');OnlyNumber('txbsecuritie','财产')"></asp:TextBox>元
            <input type="hidden" id="money1" value="0" runat="server" />
            </td>
      </tr>
      <tr>
        <td colspan="11" bgcolor="#FFFFFF" style="height: 29px">房产（包括厂房、店面房）、汽车等财产</td>
        <td colspan="7" align="center" bgcolor="#FFFFFF" style="height: 29px">          
            <asp:TextBox ID="txbestate" runat="server" CssClass="UnderlineButton1" Width="80%" onblur="TotleMoney('txbestate','money2');OnlyNumber('txbestate','财产')"></asp:TextBox>元
            <input type="hidden" id="money2" value="0" runat="server"/>
            </td>
        </tr>
      <tr>
        <td height="30" colspan="11" bgcolor="#FFFFFF">生产设备等固定资产</td>
        <td height="30" colspan="7" align="center" bgcolor="#FFFFFF">          
            <asp:TextBox ID="txbdevice" runat="server" CssClass="UnderlineButton1" Width="80%" onblur="TotleMoney('txbdevice','money3');OnlyNumber('txbdevice','财产')"></asp:TextBox>元
            <input type="hidden" id="money3" value="0" runat="server"/>
            </td>
        </tr>
      <tr>
        <td height="30" colspan="11" bgcolor="#FFFFFF">其他较高价值财产</td>
        <td height="30" colspan="7" align="center" bgcolor="#FFFFFF">          
            <asp:TextBox ID="txbothers" runat="server" CssClass="UnderlineButton1" Width="80%" onblur="TotleMoney('txbothers','money4');OnlyNumber('txbothers','财产')"></asp:TextBox>元
            <input type="hidden" id="money4" value="0" runat="server"/>
            </td>
        </tr>
      <tr>
        <td colspan="11" align="center" bgcolor="#FFFFFF" style="height: 30px">合计</td>
        <td colspan="7" align="center" bgcolor="#FFFFFF" style="height: 30px">          
            <input id="txbtotleproperty" name="txbtotleproperty" runat="server" type="text" class="UnderlineButton1" style="width:194px" readonly="readOnly" value="0"/>元</td>
        </tr>
      <tr>
        <td height="30" colspan="20" align="center" bgcolor="#FFFFFF" valign="top">
        
        <table width="100%" border="1" cellpadding="0" cellspacing="0"  style="border-top:none; border-bottom:none; border-left:none; border-right:none">
          <tr>
            <td rowspan="2" style="width: 4%">住<br/>房<br/>状<br/>况</td>
            <td height="84" colspan="7" valign="top" >
                <table width="100%" border="1" cellspacing="0"  style="border-top:none; border-bottom:none; border-left:none; border-right:none">
                    <tr>
                      <td width="25px" style="height: 37px">&nbsp;</td>
                      <td style="width: 183px; height: 37px;">房屋坐落</td>
                      <td width="80px" style="height: 37px">
                          建筑面积（㎡）</td>
                      <td width="90px" style="height: 37px">产权人或承租人姓名</td>
                      <td style="width: 135px; height: 37px;">所有权证或租赁合同号</td>
                      <td style="width: 155px; height: 37px;">产权性质</td>
                      <td style="width: 168px; height: 37px;">备注</td>
                      <td style="width: 78px; height: 37px;">是否参与计算</td>
                      <td style="width: 42px; height: 37px;"><input type="button" value="添加" name="addFieldBT1" onclick="AddRowHousing();"/></td>
                    </tr>
                </table>
                <div id="houses" runat="server"></div>
                </td>
          </tr>
          <tr>
            <td width="14%" height="42">住房建筑面积合计</td>
            <td width="16%">
                <input id="txbtotlearea" name="txbtotlearea" type="text" runat="server" class="UnderlineButton1" style="width:137px" readonly="readOnly" value="0"/>㎡</td>
            <td colspan="3">人均建筑面积</td>
            <td width="27%" colspan="2">
                <input id="txbavgarea" name="txbavgarea" runat="server" type="text" class="UnderlineButton1" style="width:137px" readonly="readOnly" value="0"/>㎡</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="20%" rowspan="2" align="center" bgcolor="#FFFFFF">相<br/>
          关<br/>
          证<br/>
          明<br/>
          材<br/>
          料</td>
        <td colspan="10" rowspan="2" align="center" bgcolor="#FFFFFF" style="text-align:center">
        <div style="width:280px; text-align:left;">
            <asp:RadioButtonList ID="rbldoc" runat="server" DataSourceID="SqlDataSource1"
                DataTextField="doc_name" DataValueField="doc_type" RepeatColumns="2" RepeatDirection="Horizontal"
                TextAlign="Left" style="text-align: justify" onclick="ShowDocTpye()">
            </asp:RadioButtonList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SqlConnection %>"
                SelectCommand="SELECT [doc_name], [doc_type] FROM [Documents]"></asp:SqlDataSource><div id="show" runat="server" style="float:right; font-size:14px; color:Blue"></div></div>
            </td>
        <td height="60" colspan="3" align="center" bgcolor="#FFFFFF">证件号</td>
        <td height="60" colspan="6" align="center" bgcolor="#FFFFFF">
            <asp:TextBox ID="txbproofnum" runat="server" CssClass="UnderlineButton1" Width="90%"></asp:TextBox>&nbsp;</td>
      </tr>
      <tr>
        <td height="60" colspan="3" align="center" bgcolor="#FFFFFF">有效期</td>
        <td height="60" colspan="6" align="center" bgcolor="#FFFFFF"><asp:DropDownList ID="ddlyear4" runat="server">
        </asp:DropDownList>年<asp:DropDownList ID="ddlmonth4" runat="server">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
        </asp:DropDownList>月&nbsp;</td>
        </tr>
        <tr>
        	<td height="30" colspan="20" align="center" bgcolor="#FFFFFF" valign="top"><table width="100%" border="1" cellpadding="5" cellspacing="0" style="border-top:none; border-bottom:none; border-left:none; border-right:none">
        	  <tr>
        	    <td width="11%" height="40" rowspan="2">保障类型</td>
        	    <td height="40" style="width: 323px">
        	        <asp:CheckBox ID="ckbsubsidy" runat="server" Text="租金补贴" onclick="Subsidy()"/>
        	        <div id="subsidy" runat="server"></div>
        	    </td>
        	    <td width="27%"><asp:CheckBox ID="ckbreduce" runat="server" onclick="Reduce()" Text="租金减免" />   
        	        <div id="reduce" runat="server"></div>
        	    </td>
        	    <td width="23%"><asp:CheckBox ID="ckbkind" runat="server" onclick="Kind()" Text="实物配组"/>
        	        <div id="kind" runat="server"></div>
        	    </td>
      	    </tr>
        	  <tr>
        	    <td height="40" style="width: 323px">
                    有效期：<asp:DropDownList ID="ddlyear1" runat="server">
                    </asp:DropDownList>年<asp:DropDownList ID="ddlmonth1" runat="server">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                    </asp:DropDownList>月</td>
        	    <td>
                    有效期：<asp:DropDownList ID="ddlyear2" runat="server">
                </asp:DropDownList>年
                <asp:DropDownList ID="ddlmonth2" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>月</td>
        	    <td>
                    有效期：<asp:DropDownList ID="ddlyear3" runat="server">
                    </asp:DropDownList>年
                    <asp:DropDownList ID="ddlmonth3" runat="server">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                    </asp:DropDownList>月</td>
      	    </tr>
        	  <tr>
        	    <td height="40">汇款类型</td>
        	    <td colspan="2"><asp:CheckBox ID="chkcard" runat="server" Text="打卡" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;卡号<asp:TextBox
                    ID="txbcardnum" runat="server" CssClass="UnderlineButton1" Width="42%"></asp:TextBox></td>
        	    <td><asp:CheckBox ID="chkmoney" runat="server" Checked="True" Text="现金" /></td>
       	      </tr>
      	  </table>
        	</td>
        </tr>
      <tr>
        <td height="67" colspan="20" align="center" bgcolor="#FFFFFF"><table width="99%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="30" colspan="2">　　本人承诺，上述填写内容全部真实有效，若有隐瞒、作假，自愿取消廉租住房保障资格，并承担法律责任。</td>
            </tr>
          <tr>
            <td height="30" align="left">
                审核表编号:<span class="heise1">
              <asp:TextBox ID="apply_longid" runat="server" CssClass="UnderlineButton1" Width="128px"></asp:TextBox>
            </span></td>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td width="62%" height="30">　日期：              
                <asp:TextBox ID="txbapplytime" runat="server" CssClass="UnderlineButton1"
                    Width="112px" onfocus="calendar()"></asp:TextBox></td>
            <td width="38%" height="30">
            <asp:Button ID="btnapply" runat="server" Text="点　击　申　请" OnClick="btnapply_Click" Height="31px" Width="126px"/></td>
          </tr>
        </table>
             <input id="otherrentstandard" type="hidden" runat="server" />
            <input id="lowrentstandard" type="hidden"  runat="server"/>
            <input id="onlyonearea" type="hidden" runat="server" />
            <input id="homeavgarea" type="hidden" runat="server" />
            <input id="standardlowarea" type="hidden" runat="server" /></td>
        </tr>
    </table>
      <p><input id="rowcountApp" type="hidden" runat="server" />
         <input id="subarea" type="hidden" runat="server" />
         <input id="rowcountHou" type="hidden" runat="server" />
         <input id="mmmm" type="hidden" runat="server" />
         <input id="submoney" type="hidden" runat="server" />
          <input id="appcount" type="hidden" runat="server" />
          <input id="housecount" type="hidden" runat="server" />&nbsp;</p>
    </td>
  </tr>
</table>
    </form>
</body>
</html>